<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:s="http://jboss.com/products/seam/taglib">

	
	<h:panelGroup rendered="#{identity.loggedIn}">
		<rich:separator height="3px"/>
		<br/>
		
		<!-- BEGIN: Options for cadastral transacions -->

		<h3>#{messages['options.cadastral_transactions']}</h3>
		<br/>
		<a4j:commandLink action="#{sideBarHelper.navigateTo('/workflow/startTransaction.xhtml', true)}">
			#{messages['options.newrequest']}
		</a4j:commandLink>
		<br/>
		<a4j:commandLink action="#{sideBarHelper.navigateTo('/workflow/activities.xhtml', false)}">
			#{messages['options.pendingactivities']}
		</a4j:commandLink>
		<br/>
		<br/>
		
		<!-- END: Options for cadastral transacions -->
		
		<rich:separator height="3px"/>
		<br/>

		<!-- BEGIN: Options for Permits -->
		
		<h3>#{messages['options.permits']}</h3>
		<br/>
		<strong>#{messages['options.buildpermit']}</strong>
		<br />
		<a4j:commandLink action="#{sideBarHelper.navigateTo('/permits/building/startPermit.xhtml', true)}">
			#{messages['options.newprocess']}
		</a4j:commandLink>
		<br />
		<a4j:commandLink action="#{sideBarHelper.navigateTo('/permits/building/activities.xhtml', false)}">
			#{messages['options.pendingactivities']}
		</a4j:commandLink>
		<br />
		<br />
		<strong>#{messages['options.operationpermit']}</strong>
		<br />
		<a4j:commandLink action="#{sideBarHelper.navigateTo('/permits/operation/startPermit.xhtml', true)}">
			#{messages['options.newprocess']}
		</a4j:commandLink>
		<br />
		<a4j:commandLink action="#{sideBarHelper.navigateTo('/permits/operation/activities.xhtml', false)}">
			#{messages['options.pendingactivities']}
		</a4j:commandLink>
		<br />
		<br />
		<strong>#{messages['options.spatialrules']}</strong>
		<br />
		<a4j:commandLink action="#{sideBarHelper.navigateTo('/permits/spatialRuleGroups.xhtml', true)}">
			#{messages['options.permitrulegroups']}
		</a4j:commandLink>
		<br />
		<a4j:commandLink action="#{sideBarHelper.navigateTo('/permits/spatialRules.xhtml', true)}">
			#{messages['options.spatialrules']}
		</a4j:commandLink>
		<br/>
		<br/>
		
		<!-- END: Options for Permits -->
		
		
		<rich:separator height="3px"/>
		<br />
		
		<!-- BEGIN: Options for Maintain Topography -->
		
		<h3>#{messages['options.topographic_maintenance']}</h3>
		<br />
		<a4j:commandLink action="#{sideBarHelper.navigateTo('/topography/maintainTopography.xhtml', true)}">
			#{messages['options.add_delete_objects']}
		</a4j:commandLink>
		<br />
		<a4j:commandLink action="#{sideBarHelper.navigateTo('/topography/initialDataLoad.xhtml', true)}">
			#{messages['options.load_data']}
		</a4j:commandLink>
		<br />
		<br />
		
		<!-- END: Options for Maintain Topography -->
		
		<rich:separator height="3px"/>
		<br />

		<!-- BEGIN: Options for Systems Administration -->

		<h3>#{messages['options.sysadmin']}</h3>
		<br />
		<a4j:commandLink action="#{sideBarHelper.navigateTo('/admin/users.xhtml', true)}">
			Usuarios y roles
		</a4j:commandLink>
		<br/>
		<a4j:commandLink action="#{sideBarHelper.navigateTo('/admin/personMant.xhtml', true)}">
			Personas naturales/juridicas
		</a4j:commandLink>
		<br/>
		<br/>
		<!-- END: Options for Systems Administration -->


		<rich:separator height="3px"/>
		<br/>

	</h:panelGroup>

</ui:composition>
